package com.example.mobile2021606128wje0511;

import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    private TextView tvMainTitle;
    private ImageView ivMainBanner;
    private TextView tvMainContent;
    final String IMAGEPATH ="http://192.168.29.93/web/images/banner.jpg";
    final String TEXTPATH="http://192.168.29.93/web/text.txt";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        initView();
        new  Thread(new Runnable() {
            @Override
            public void run() {

            }
        }).start();
    }

    private void initView() {
        tvMainTitle = (TextView) findViewById(R.id.tvMainTitle);
        ivMainBanner = (ImageView) findViewById(R.id.ivMainBanner);
        tvMainContent = (TextView) findViewById(R.id.tvMainContent);
    }
}